Skip to content

fix selective build validation and dtype build plumbing#19443

Open
arkadip-maitra wants to merge 1 commit intopytorch:mainfrom
arkadip-maitra:fix_11921_pr1
Open

fix selective build validation and dtype build plumbing#19443
arkadip-maitra wants to merge 1 commit intopytorch:mainfrom
arkadip-maitra:fix_11921_pr1

Conversation

@arkadip-maitra
Copy link
Copy Markdown

@arkadip-maitra arkadip-maitra commented May 10, 2026

First pr related to #11921

this pr makes preset option checks handle string valued selector flags properly, fixes dtype selective generated target export/install plumbing, and adds coverage for the current EXECUTORCH_SELECT_OPS_MODEL + EXECUTORCH_SELECT_OPS_LIST composition behavior.

validated with commands:

  • python -m pytest tools/cmake/common/preset_test.py -q --override-ini flake-finder=false --override-ini flake-runs=1
  • PYTHON_EXECUTABLE=python bash .ci/scripts/test_model.sh add cmake portable
  • PYTHON_EXECUTABLE=python bash examples/selective_build/test_selective_build.sh cmake

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 10, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19443

Note: Links to docs will display an error until the docs builds have been completed.

⚠️ 15 Awaiting Approval

As of commit 83692db with merge base a49171d (image):

AWAITING APPROVAL - The following workflows need approval before CI can run:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 10, 2026
@arkadip-maitra
Copy link
Copy Markdown
Author

@pytorchbot label "release notes: build"

@pytorch-bot pytorch-bot Bot added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label May 10, 2026
@arkadip-maitra
Copy link
Copy Markdown
Author

arkadip-maitra commented May 10, 2026

This is the first PR related to #11921, intentionally scoped to OSS CMake selective-build correctness and test coverage. If this direction looks good, I will follow up with separate PRs for the consolidated selector API and then docs/integration updates.

@arkadip-maitra arkadip-maitra marked this pull request as ready for review May 10, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants